<script>
	import config from '/utils/config'
	
	export default {
		onLaunch: function() {
			this.globalData.config = config
			uni.getSystemInfo({
				success: (e) => {
					this.globalData.statusBar = e.statusBarHeight
					this.globalData.customBar = e.statusBarHeight + 44
					
				}
			})
		},
		onShow: function() {
			
		},
		onHide: function() {
			
		}
	}
</script>

<style lang="scss">
	@import '@/uni_modules/uv-ui-tools/index.scss';
	/*每个页面公共css */
	page{
		background: #111827;
		color: $uv-main-color;
	}
	.app-container {
		--theme-sm: 24rpx;
		--theme-df: 28rpx;
		--theme-lg: 32rpx;
		--theme-xl: 40rpx;
		--theme-sm-line: 36rpx;
		--theme-df-line: 40rpx;
		--theme-lg-line: 44rpx;
		--theme-xl-line: 56rpx;
		box-sizing: border-box;
		font-size: var(--theme-df);
		line-height: var(--theme-df-line);
		view{
			box-sizing: border-box;
		}
		.theme-btn{
			.uv-button__text{
				font-size: var(--theme-df) !important;
			}
		}
	}
</style>
